package com.xy.blog.article.domain.service;


import com.xy.blog.article.api.model.ArticleCategoryQuery;
import com.xy.blog.article.domain.service.model.ArticleCategoryBO;
import com.xy.blog.core.service.IBaseService;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description: 分类专栏
 * @date 2020/5/24
 */

public interface IArticleCategoryService extends IBaseService<ArticleCategoryQuery, ArticleCategoryBO> {
    /**
     * 返回全部列表 需要加缓存,不带层级
     * @return
     */
    Object list();

    /**
     * 根据level显示层级数
     * 不传返回所有层级
     * @return
     */
    Object listWithChildrenByLevel(Long level);
}
